import request from '@/utils/request';
//获取属性纠错对象列表
export function getAttrErrorList(data) {
    return request({
        url: 'getinfo/normal/advice-obj/listAdviceObj',
        method: 'get',
        data:data
    })
}
//获取属性纠错内容列表
export function getAttrErrorContentList(data) {
    return request({
        url: `getinfo/normal/advice-content/listAdviceContent?adviceObjId=${data}`,
        method: 'get',
        data: data,
    })
}
//保存属性纠错相关内容
export function saveAttrErrorContent(data) {
    return request({
        url: 'getinfo/advice-feedback/saveAdviceFeedback',
        method: 'post',
        data: data,
    })
}
//获取反馈纠错列表
export function getFeedbackSuggestList(data) {
    return request({
        url: 'getinfo/advice-feedback/listAdviceFeedback',
        method: 'get',
        data: data,
    })
}
//模糊查询反馈纠错列表
export function QueryFeedbackSuggestList(data) {
    return request({
        url: `getinfo/advice-feedback/likeAdviceFeedback?keyword=${data}`,
        method: 'get',
        data: data,
    })
}
//获取反馈纠错详情
export function getFeedbackSuggestDetail(data) {
    return request({
        url: `getinfo/advice-feedback/selectAdviceFeedback?`,
        method: 'post',
        data: data,
    })
}
//未来五天天气预报
export function queryWeatherForecast(data) {
    return request({
        url: 'getinfo/third-party-api/getWeatherData',
        method: 'get',
        data: data,
    })
  }
  //未来五天天气预报
export function manyKeywordsQuery(data) {
    return request({
        url: 'getinfo/quick-position/manyKeywordsQuery',
        method: 'POST',
        data: data,
    })
  }
  //删除
  export function delAdviceFeedback(data) {
    return request({
        url: 'getinfo/advice-feedback/delAdviceFeedback',
        method: 'get',
        params: data,
    })
  }
